package com.example.demo.po.report;

import com.example.demo.vo.report.ReportVO;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Report {
    private int rid;
    private double averageScore;
    private int scoreNum;
    private LocalDateTime submitTime;

    public Report(){}

    public Report(ReportVO reportVO){
        this.rid = reportVO.getRid();
        this.averageScore=reportVO.getAverageScore();
        this.scoreNum=reportVO.getScoreNum();
    }
}
